﻿using UnityEngine;


public class SpriteButtons : MonoBehaviour {
	public tk2dSprite change;
    //============= Menu Buttons =====================
	public void changeSpritePlayOnUp(){
		change.SetSprite("Play");
	}
	
	public void changeSpritePlayOnDown(){
		change.SetSprite("PlayDown");
	}
	
	public void changeSpriteFacebookOnUp(){
		change.SetSprite("Facebook");
	}
	
	public void changeSpriteFacebookOnDown(){
		change.SetSprite("FacebookDown");
	}
    //=============== Map Buttons ====================
    public void changeSpriteLifeOnUp()
    {
        change.SetSprite("heart");
    }

    public void changeSpriteLifeOnDown()
    {
        change.SetSprite("heartDown");
    }

    public void changeSpriteGoldOnUp()
    {
        change.SetSprite("gold");
    }

    public void changeSpriteGoldOnDown()
    {
        change.SetSprite("goldDown");
    }
    public void changeSpriteWheelOnUp()
    {
        change.SetSprite("wheel");
    }

    public void changeSpriteWheelDown()
    {
        change.SetSprite("wheelDown");
    }
    //=============== Level Button ==============
    public void changeSpriteLevel1()
    {
        change.SetSprite("level1");
    }
    public void changeSpriteLevel1OnDown()
    {
        change.SetSprite("level1_down");
    }
    public void changeSpriteLevel2()
    {
        change.SetSprite("level2");
    }
    public void changeSpriteLevel2OnDown()
    {
        change.SetSprite("level2_down");
    }
    public void changeSpriteLevel3()
    {
        change.SetSprite("level3");
    }
    public void changeSriteLevel3OnDown()
    {
        change.SetSprite("level3_down");
    }

    //================ Wheel Buttons ==========
    public void changeSpriteStop()
    {
        change.SetSprite("stop");
    }
    public void changeSpriteStopOnDown()
    {
        change.SetSprite("stopDown");
    }
    
}
